add On Navigate Listener
Adds an OnNavigateListener
to the WebView.
This listener allows for the interception of URL navigations, providing an opportunity to inspect or modify the URL before it is displayed.
Parameters
listener
The OnNavigateListener
to be added. This listener will be notified when a URL navigation occurs.